/**
 * Created by Wing on 2017/6/10.
 */
var defaultStudyList = {
    type:"新建学习列表",
    name: "",
    conditions: [
        {
            name:"牌组名称", pattern: "是" ,value: ""
        }
    ]
};
var studyList = {
    type:"新建学习列表",
    name: "",
    conditions: [
        {
            name:"牌组名称", pattern: "是" ,value: "",patterns:["是","不是","包含","开头为","结尾为"]
        }
    ]
};
var studyListModel;
$(function () {
    studyListModel = new Vue({
        el:"#studyListView",
        data:studyList
    });
})
var getStudyList = function (id) {

}
var addStudyList = function () {
    toshowStudyList();
    studyList.type = defaultStudyList.type;
    studyList.name = defaultStudyList.name;
    studyList.conditions = defaultStudyList.conditions;
}